Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: java.security.AccessControlException: Access denied
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Error Message
Platform: Windows XP client
Release: 8.5
Reproducible: Always

I am running a Java agent on the Notes Client. It works without error on Notes 7.0.3, but produces an error running on 8.5.

I have the runtime security level set to 3.
Does anyone know what might be causing it?

import lotus.domino.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.impl.SimpleLog;

public class JavaAgent extends AgentBase {


public void NotesMain() {
try {
Log log = LogFactory.getLog(SimpleLog.class.getName());
log.info("This is an error");
} catch(Exception e) {
e.printStackTrace();
}
}

The Java console reads:
java.security.AccessControlException: Access denied (java.util.logging.LoggingPermission control)
at java.security.AccessController.checkPermission(AccessController.java:108)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at COM.ibm.JEmpower.applet.AppletSecurity.superDotCheckPermission(AppletSecurity.java:1440)
at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1522)
at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1455)
at java.util.logging.LogManager.checkAccess(Unknown Source)
at java.util.logging.Handler.setLevel(Unknown Source)
at java.util.logging.Logger.initHandler(Unknown Source)
at java.util.logging.Logger.getHandlers(Unknown Source)
at java.util.logging.Logger.log(Unknown Source)
at java.util.logging.Logger.logp(Unknown Source)
at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:91)
at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:162)
at JavaAgent.NotesMain(JavaAgent.java:35)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)


Feedback number WEBB7RDTX7 created by ~Mario Cisluster on 04/23/2009

Status: Open
Comments:

java.security.AccessControlExceptio... (~Mario Cisluste... 23.Apr.09)
. . COM.ibm.JEmpower.applet.AppletSecur... (~Zelda Cisgeroc... 23.Nov.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS